package com.example.billw.mapper;

import com.example.billw.entity.Provider;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description TODO
 * @Author fantasy
 * @Date 2024/7/2 16:08
 **/

@Mapper
public interface ProviderMapper {
    List<Provider> getProviders(Provider provider);

    Provider getProviderById(Integer pid);

    void updateProvider(Provider provider);

    void addProvider(Provider provider);

    void deleteProvider(String pid);
}
